AliNext_Lite\Woocommerce D

Total Complexity 708
Dependencies 18
Dependents 2
Total lines 2,384
Lines of code 1,827
Logical lines of code 1,172
Comment lines 118
Methods 33
Properties 4

Methods 33

Method Rating Maintainability Complexity Lines of code
add_variation()
D
0
237 543
add_product()
D
4
128 311
upd_product()
D
8
114 272
get_product_by_post_id()
D
29
42 105
set_images()
B
41 25 45
prepare_product_images()
B
45 20 39
build_description()
B
41 19 45
build_steps()
A
49 11 29
sync_order_with_aliexpress()
A
45 10 41
save_tracking_code()
A
44 9 46
get_sorted_products_ids()
A
46 9 37
get_fulfilled_orders_data()
A
47 8 36
set_attributes()
A
48 8 32
build_categories()
A
55 8 18
update_price()
S
49 6 32
switchOrderStatus()
S
58 7 17
delete_external_order_id()
S
54 6 21
need_import_variations()
S
65 7 7
addCategory()
S
53 4 24
build_categories_tree()
S
59 4 14
get_product_external_id()
S
61 4 12
fix_format_of_original_variations_attributes()
S
63 4 10
is_woocommerce_installed()
S
64 4 9
get_product_tags()
S
61 3 12
get_products_ids()
S
56 2 19
get_fulfilled_orders_count()
S
59 1 15
get_categories()
S
63 2 10
__construct()
S
74 1 5
get_product_id_by_import_id()
S
74 1 4
get_product_id_by_external_id()
S
74 1 4
get_products_count()
S
75 1 4
is_product_exist()
S
74 1 4
changeProductType()
S
73 1 5